package fons.navigator.ui.export;

import java.awt.Frame;
import java.io.File;


import net.java.dev.designgridlayout.DesignGridLayout;
import edu.umd.cs.piccolo.PCanvas;
import fons.navigator.export.Exporter;
import fons.navigator.export.Renderer;

public class ExporterWindowDecorator implements IExporterWindow {
	private IExporterWindow parent;
	
	public ExporterWindowDecorator(IExporterWindow parent) {
		this.parent = parent;
	}
	
	@Override
	public Exporter getExporter() {
		return parent.getExporter();
	}
	
	@Override
	public Renderer getRenderer() {
		return parent.getRenderer();
	}

	@Override
	public Frame getFrame() {
		return parent.getFrame();
	}

	@Override
	public void show() {
		parent.show();
	}

	@Override
	public PCanvas getPreviewCanvas() {
		return parent.getPreviewCanvas();
	}

	@Override
	public DesignGridLayout getQuickOptionsGrid() {
		return parent.getQuickOptionsGrid();
	}

	@Override
	public DesignGridLayout getButtonsGrid() {
		return parent.getButtonsGrid();
	}

	@Override
	public DesignGridLayout getExportOptionsGrid() {
		return parent.getExportOptionsGrid();
	}

	@Override
	public File getExportFile() {
		return parent.getExportFile();
	}

	@Override
	public void export() {
		parent.export();
	}

	@Override
	public void close() {
		parent.close();
	}

	@Override
	public void pack() {
		parent.pack();
	}

	@Override
	public void setVisible(boolean visible) {
		parent.setVisible(visible);
	}

	@Override
	public void setRenderer(Renderer renderer) {
		parent.setRenderer(renderer);
	}

	@Override
	public void setExporter(Exporter exporter) {
		parent.setExporter(exporter);
	}
}
